package com.ruoyi.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就业和薪资对象 employment
 * 
 * @author admin
 * @date 2023-09-03
 */
public class Employment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 就业方向id */
    private Integer id;

    /** 就业方向名称（职位名称） */
    @Excel(name = "就业方向名称", readConverterExp = "职=位名称")
    private String name;

    /** 职位薪资 */
    @Excel(name = "职位薪资")
    private String salary;

    /** 0 转正薪资
1 税后薪资
2 试用期薪资 */
    @Excel(name = "薪资类型")
    private String salaryIntroduction;

    /** 专业id */
    @Excel(name = "专业id")
    private Integer professionId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setSalaryIntroduction(String salaryIntroduction) 
    {
        this.salaryIntroduction = salaryIntroduction;
    }

    public String getSalaryIntroduction() 
    {
        return salaryIntroduction;
    }
    public void setProfessionId(Integer professionId) 
    {
        this.professionId = professionId;
    }

    public Integer getProfessionId() 
    {
        return professionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("salary", getSalary())
            .append("salaryIntroduction", getSalaryIntroduction())
            .append("professionId", getProfessionId())
            .toString();
    }
}
